package co.yixiang.yshop.module.system.controller.admin.roleauthdata.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 角色权限数据保存 Request VO")
@Data
public class SysRoleAuthDataSaveReqVO {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @Schema(description = "仓库ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "仓库ID列表不能为空")
    private List<Long> storeIds;

    @Schema(description = "数据类型ID", example = "1")
    private Integer dataTypeId = 1; // 默认为1，表示仓库权限

} 